const initUser = {
  username: '',
  isLogin: false,
  token: ''
}
export default {
  cart: JSON.parse(window.localStorage.getItem('cart')) || [],
  user: JSON.parse(window.localStorage.getItem('user')) || initUser,
  allCheck: false,
  showEdit: false,
  product: [],
  cateid: 0,
  catepage: 0,
  cateindex: 0,
  prodID: ''
}
